package com.king.designpatterns.行为模式.模板方法模式;

/**
 * 具体模板类，定期账户
 *
 * @author king
 * @date 2021-06-10 15:08
 */
public class FixedAccount extends Account{
    @Override
    protected String getAccountType() {
        return "一年定期";
    }

    @Override
    protected double getInterestRate() {
        return 0.0325D;
    }
}
